import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { Button, Icon, Tabbar, TabbarItem, NavBar, Toast, Form, Field, Swipe, SwipeItem, Lazyload, List, PullRefresh, Cell, CellGroup, Picker, Popup, DatetimePicker, Uploader, Checkbox, CheckboxGroup, TreeSelect, IndexBar, IndexAnchor, Tab, Tabs } from 'vant'

Vue.use(Tab)
Vue.use(Tabs)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(TreeSelect)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Uploader)
Vue.use(DatetimePicker)
Vue.use(Popup)
Vue.use(Picker)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(PullRefresh)
Vue.use(List)
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Toast)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)
Vue.use(Icon)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
